﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Runtime.Serialization;

namespace Automaton.ServiceLibrary.Contracts
{
    [DataContract]
    public class Results<T>
    {
        [DataMember]
        public string ExceptionMessage { get; set; }
        [DataMember]
        public string Message { get; set; }
        [DataMember]
        public bool bResult { get; set; }
        [DataMember]
        public T GenericType { get; set; }
        [DataMember]
        public List<T> GenericList { get; set; }

    }

    [DataContract]
    public class Results
    {
        [DataMember]
        public string ExceptionMessage { get; set; }
        [DataMember]
        public string Message { get; set; }
        [DataMember]
        public bool bResult { get; set; }

    }
}